package com.nxzh.de.executor.common.utils;

public class NumberGroupingUtils {
    private static final int GROUP_SIZE = 12;
    private static final int TOTAL_GROUPS = 3072 / GROUP_SIZE;

    public static int getGroup(int number) {
        return (number - 1) / GROUP_SIZE + 1;
    }

    public static String getGroupRange(int group) {
        int start = (group - 1) * GROUP_SIZE + 1;
        int end = group * GROUP_SIZE;
        return start + " ~ " + end;
    }
}
